﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Chaunce.FrameWork.NetCore.DapperCore
{
    /// <summary>
    /// 工作单元接口，用于数据库事务
    /// </summary>
    public interface IUnitOfWork : IDisposable
    {
        /// <summary>
        /// Save changes into context.
        /// </summary>
        void SaveChanges();
    }
}
